﻿body {
    padding-top: 50px;
    padding-bottom: 20px;
}

/* quick'n'dirty site specific hacks */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

img.alignleft {
	float: left;
	margin-top: 2px;
	margin-right: 25px;
    width: 77px;
    height: 77px;
}

.image-border-none {
	border:none;
}

.photo {
    width: 100%;
}

.photo-border {
	border:1px solid #cecece;
	padding:4px;
	background:#d9d9d9 url(assets/bg-photo.png) top repeat-x;
	margin-bottom:5px;
	display:block;
}

.photo-float-left {
	float:left;
	margin-right: 25px;
}

.photo2 {
    height: 84px;
    width: 112px;
}

a.disabled {
  opacity: 0.5
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

blockquote {
	padding:0 0 0 12px;
	margin:12px 0 0 0;
	background:url(assets/bg-quote.png) no-repeat;
}

blockquote p {
  font-size: 10pt;
  font-weight: 300;
  line-height: 1.25;
  color: gray;
}

cite {
  font-style: italic;
  font-size: 8pt;
}

.dl-horizontal dt {
    white-space: normal;
}

.table-responsive {
    border: 0;
}

table th {
    background-color: white;
    color: black;
}

/*tr:hover
{
    background-color: #9BB1CA;
    color: white;
}*/

/*tr:hover a
{
    background-color: #9BB1CA;
    color: white;
}*/

.table > thead > tr > th, 
.table > tbody > tr > th, 
.table > tfoot > tr > th 
{
    padding: 8px;
    line-height: 1.428571429;
    vertical-align: top;
    border-top: 0px solid green;
    border-top-color: #66FF33;
}

.shimTop5 {
    margin-top: 5px;
}

.shimTop10 {
    margin-top: 10px;
}

.shimTop15 {
    margin-top: 15px;
}

.shimTop20 {
    margin-top: 20px;
}

.shimTop25 {
    margin-top: 25px;
}

.shimTop45 {
    margin-top: 45px;
}

.marginLeft10 {
    margin-left: 10px;
}

.marginLeft35 {
    margin-left: 35px;
}

.bold {
    font-weight: bold;
}

hr {
  /*margin-top: -5px;*/
  border: 0;
  border-top: 1px solid #eeeeee;
}

/* -- loader animation --*/
#loading
{
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(85,85,85,0.3);
    z-index: 1000;
}
  
#loadingcontent
{
    display: table;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}
  
#loadingspinner
{
    display: table-cell;
    vertical-align :middle;
    width: 100%;
    text-align: center;
    font-size:  larger;
    padding-top: 80px;
}

.vertical-alignment-helper {
    display:table;
    height: 100%;
    width: 100%;
    pointer-events:none;
}
.vertical-align-center {
    /* To center vertically */
    display: table-cell;
    vertical-align: middle;
    pointer-events:none;
}

.brand-logo {
    font-size:1.6em; 
    font-family:Georgia, Times New Roman, Times, serif;
}

/* -------- Bootstrap overrides ---------- */

fieldset {
    margin: 5px 0;
}

legend {
    padding-top: 5px;
    padding-right: 10px;
    padding-bottom: 5px;
    padding-left: 0px;
    font-size: 14pt;
    font-weight: bold;
}

.navbar-default {
    background: url('assets/bg-nav.png');
    background-size: 100% 120%;
    border-color: #e7e7e7;
}

.navbar-default .navbar-brand {
    color: white;
}

.navbar-default .navbar-brand:hover,
.navbar-default .navbar-brand:focus {
  color:#6495CD;
  background-color: transparent;
}

.navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus
{
    color: #ffffff;
    background-color: #6495CD;
}

.navbar-default .navbar-toggle
{
    border-color: #6495CD;
}
.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus
{
    background-color: #6495CD; /*rgb(158, 181, 98);  #d78e3e */
}
.navbar-default .navbar-toggle .icon-bar
{
    background-color: darkgreen;
}

.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:hover,
.navbar-default .navbar-nav > .open > a:focus {
    background-color: #6495CD; /*rgb(158, 181, 98);*/
  color: #ffffff;
}

@media (max-width: 767px) {
  .navbar-default .navbar-nav .open .dropdown-menu > li > a {
    color: #ffffff;
  }
  .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover,
  .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {
    color: #ffffff;
    background-color: #6495CD;
  }
  .navbar-default .navbar-nav .open .dropdown-menu > .active > a,
  .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover,
  .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus {
    color: #ffffff;
    background-color: #2879b1;
  }
  .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a,
  .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:hover,
  .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:focus {
    color: #cccccc;
    background-color: transparent;
  }
}

.navbar-default .navbar-text {
  color: red;
}

.navbar-default .navbar-nav > li > a {
  color: white;
}

.navbar-default .navbar-nav > .open > a .caret, .navbar-default .navbar-nav > .open > a:hover .caret, .navbar-default .navbar-nav > .open > a:focus .caret {
    border-top-color: white;
    border-bottom-color: white;
}

.navbar-default .navbar-nav > .dropdown > a .caret {
    border-top-color: white;
    border-bottom-color: white;
}

h1, .h1 {
    font-size: 2.0em;
}

.modal-content {
    /* Bootstrap sets the size of the modal in the modal-dialog class, we need to inherit it */
    width:inherit;
    height:inherit;
    /* To center horizontally */
    margin: 0 auto;
    pointer-events:all;
}

.breadcrumb {
  padding: 5px 15px;
  /*margin-bottom: 20px;*/
  list-style: none;
  background-color: #f5f5f5;
  border-radius: 0px;
}
.breadcrumb > li {
  display: inline-block;
}
.breadcrumb > li + li:before {
  content: "/\00a0";
  padding: 0 5px;
  color: #cccccc;
}
.breadcrumb > .active {
  color: #999999;
}

/*.page-header {
  padding-bottom: 9px;
  margin: 5px 0 20px;
  border-bottom: 1px solid #eeeeee;
}*/

.page-header {
  padding-bottom: 9px;
  margin: 25px 0 10px;
  border-bottom: 0px dotted white /*#eeeeee*/;
}

.notice {
    padding: 15px;
    background-color: #fafafa;
    border-left: 6px solid #7f7f84;
    margin-bottom: 10px;
    -webkit-box-shadow: 0 5px 8px -6px rgba(0,0,0,.2);
       -moz-box-shadow: 0 5px 8px -6px rgba(0,0,0,.2);
            box-shadow: 0 5px 8px -6px rgba(0,0,0,.2);
}
.notice-sm {
    padding: 10px;
    font-size: 80%;
}
.notice-lg {
    padding: 35px;
    font-size: large;
}
.notice-success {
    border-color: #80D651;
}
.notice-success>strong {
    color: #80D651;
}
.notice-info {
    border-color: #45ABCD;
}
.notice-info>strong {
    color: #45ABCD;
}
.notice-warning {
    border-color: #FEAF20;
}
.notice-warning>strong {
    color: #FEAF20;
}
.notice-danger {
    border-color: #d73814;
}
.notice-danger>strong {
    color: #d73814;
}

/********** TreeView *******************/
.tree, .tree ul {
    margin:0;
    padding:0;
    list-style:none
}
.tree ul {
    margin-left:1em;
    position:relative
}
.tree ul ul {
    margin-left:.5em
}
.tree ul:before {
    content:"";
    display:block;
    width:0;
    position:absolute;
    top:0;
    bottom:0;
    left:0;
    border-left:1px solid
}
.tree li {
    margin:0;
    padding:0 1em;
    line-height:2em;
    color:#369;
    font-weight:700;
    position:relative
}
.tree ul li:before {
    content:"";
    display:block;
    width:10px;
    height:0;
    border-top:1px solid;
    margin-top:-1px;
    position:absolute;
    top:1em;
    left:0
}
.tree ul li:last-child:before {
    background:#fff;
    height:auto;
    top:1em;
    bottom:0
}
.indicator {
    margin-right:5px;
}
.tree li a {
    text-decoration: none;
    color:#369;
}
.tree li button, .tree li button:active, .tree li button:focus {
    text-decoration: none;
    color:#369;
    border:none;
    background:transparent;
    margin:0px 0px 0px 0px;
    padding:0px 0px 0px 0px;
    outline: 0;
}